package com.zjs.mybatis.service.impl;

import com.zjs.mybatis.mapper.User_UserMapper;
import com.zjs.mybatis.pojo.User_User;
import com.zjs.mybatis.service.User_UserService;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Service;


import javax.annotation.Resource;
import java.util.List;

@Service
public class User_UserServiceImpl implements User_UserService {

    @Resource
    User_UserMapper user_UserMapper;

    @Override
    public List<User_User> getALL() {
        System.out.println("service层被调用到");
        return user_UserMapper.getALL();
    }

    @Override
    public List<User_User> getUserCompany() {
        return user_UserMapper.getUserCompany();
    }
}
